export default endpoint => {
  return fetch(`https://jsonplaceholder.typeicode.com${endpoint}`).then(response => response.json())
}